<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function Object(uname, age, exert) {
            this.uname = uname
            this.age = age
            this.exert = exert
            this.sing = function () {
                console.log("她喜欢唱歌");
            }
        }
        var kdh = new Object("刘德华", 18, "男")
    </script>
</body>

</html>